Quote:
Originally Posted by dice7
pawn Код:
new CarFix = 0; public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/cardm", cmdtext, true, 10) == 0) { CarFix = 1; return 1; } if (strcmp("/fix", cmdtext, true, 10) == 0) { if (CarFix == 1) return SendClientMessage(playerid, color, "can't use that here"); //other code } return 0; }
|
Thank you very mutch!
Just another question... when the player die, how to check if he was in "/cardm" and that it respawn him there and if he wasn't there just spawn normal?
greetz