• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Help me
#1
[113064] Warning 209 : 209: function should return a valu

//safezone
forward LoadPlayer();
public LoadPlayer()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Loaded[i] == 1)
{
TogglePlayerControllable(i,true);
Loaded[i] = 0;
return 1;
}
}
}
}


[116252] Warning 202: number of arguments does not match definition

CMD:laytoado(playerid, params[])
{
new string[128];
new tstring[50];
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
format(string, sizeof(string), "%0.2f, %0.2f, %0.2f", x, y, z);
format(tstring, sizeof(tstring), "-------------------------");
Log("logs/toado.log", string, tstring);
SendClientMessage(playerid, COLOR_WHITE, "Ban Da Lay Toa Do Vao (( Sciptfile>logs>an vao file toado.log de lay toa do nhe )).");
return 1;
}
  Reply


Messages In This Thread
Help me - by tuankhanqsamp - 2024-08-21, 09:36 AM
RE: Help me - by contatofelipeojustin - 2024-08-25, 02:21 PM

Forum Jump: