30.12.2013, 07:12
Quote:
Here u go. I think u wanted this name:
Код:
format(String, sizeof(String), "You were cought on speed cam(%d/%d) ((Pay system in make))",CSpeed, SpeedCams[p][scmaxspeed]); SendClientMessage(i, COLOR_RED, String); format(String, sizeof(String), "Speed Cam: Player %s was caught in speed cam (%d/%d) ((Pay system in make))",GetPlayerName(playerid)CSpeed, SpeedCams[p][scmaxspeed]) SendCopMessage(string); SetTimerEx("SpeedCamCheck", 5000, false, "d", i); |
before 4 errors but after i added , after GetPlayerName it shows one error
Код:
SendClientMessage(i, COLOR_RED, String); format(String, sizeof(String), "Speed Cam: Player %s was caught in speed cam (%d/%d) ((Pay system in make))",GetPlayerName, CSpeed, SpeedCams[p][scmaxspeed]); SendCopMessage(COLOR_RED, String);
in my server it is GetPlayerName