19.04.2011, 11:07
(
Последний раз редактировалось csoki2; 19.04.2011 в 11:54.
)
So i have a problem within this:
The SetPlayerCheckpoint within this piece of code wont show up, even the text for player shows up but not the checkpoint...... Please help!
pawn Код:
if(PlayerInfo[playerid][pJob] == 24 && HullaOnDuty[playerid] == 1)
{
switch(HullaFelveve[playerid])
{
case 0:
{
return 1;
}
case 1:
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~g~Felvetted a halottat, most szallisd vissza a ravatalozoba", 5000, 3);
SetPlayerCheckpoint(playerid,-345.1764,1049.0767,19.7084,8.0);
HullaFelveve[playerid] = 2;
}
case 2:
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~g~Leszallitottad a hullat, jutalom: $100", 5000, 3);
SafeGivePlayerMoney(playerid,100);
HullaFelveve[playerid] = 0;
}
}
}