14.04.2020, 14:21
Hello there
Just started playing with pawno first ever in my life and I get the "undefined symbol" after I try to compile a script
Never mind the condition itself, I'm just concerned about that undefined symbol
Thanks a lot
Just started playing with pawno first ever in my life and I get the "undefined symbol" after I try to compile a script
Quote:
nscript.pwn(26) : error 017: undefined symbol "cmdtext" |
Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if (!strcmp(cmdtext, "/randomc", true)) { ChangeVehicleColor(vehicleid, 0, 1); ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "INFO", "You got your car colored", "OK","YE"); } return SendClientMessage(playerid,0xffffffff,"You aren't probably in a car."); }
Thanks a lot
