2024-08-21, 09:36 AM
(This post was last modified: 2024-08-21, 09:41 AM by tuankhanqsamp.)
[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;
}
//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;
}