01.05.2014, 03:16
Код:
ecrp\seatbelt.pwn(312) : error 017: undefined symbol "SendClentMessage" ecrp\seatbelt.pwn(314) : warning 217: loose indentation
Код:
YCMD:checksb(playerid, params[], help) { if(help) { SendClientMessage(playerid, X11_WHITE, "Check if you are wearing the seat belt or not"); return 1; } if(!IsPlayerInAnyVehicle(playerid) || !HasSeatbelts(GetVehicleModel(GetPlayerVehicleID(playerid)))) { //line 124 SendClientMessage(playerid, COLOR_LIGHTRED, "You need to be in a car!"); return 1; } if(!Seatbelt[playerid]) { SendClientMessage(playerid,-1,"You aren't wearing a seat belt"); } else { SendClentMessage(playerid,-1,"You are wearing a seat belt"); } return 1; }