28.11.2009, 13:24
try this
pawn Код:
if(strcmp(cmd, "/skip", true) == 0)
{
if(IsPlayerConnected(playerid))
{
ClearChatbox(i, 10);
SendClientMessage(i, COLOR_YELLOW2, "Welcome to the Los Santos.");
SendClientMessage(i, COLOR_YELLOW2, "You should read Los Santos newspaper in order to get GPS system available.(It's Marked On Your Map)");
SendClientMessage(i, COLOR_GRAD1, "Hint: To call a taxi or bus use /call 444 or /call 222");
SendClientMessage(i, COLOR_GRAD1, "Hint: To change your outfit you have to go to clothes shop");
SetPlayerPos(i, 330.6825,163.6688,1014.1875);
gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0;
RegistrationStep[playerid] = 0;
TutTime[playerid] = 1;
OnPlayerUpdate(playerid);
TogglePlayerControllable(playerid, 1);
SetTimerEx("UnsetAfterTutorial", 2500, false, "i", i);
SetTimerEx("UnsetFirstSpawn", 5000, false, "i", i);
SetPlayerSpawn(i);
SetPlayerCheckpoint(i,1505.2416,-1694.5597,14.0469,5.0);
}
}
}
return 1;
}