19.08.2009, 11:18
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if ((newkeys & SUBMISSION)) { if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,0xE0F1E4FF,"Fehler:Du brauchst ein Auto."); return 1; } new playervehiclemodel = GetVehicleModel(GetPlayerVehicleID(playerid)); if(playervehiclemodel == 581 || playervehiclemodel == 523 || playervehiclemodel == 462 || playervehiclemodel == 521 || playervehiclemodel == 463 || playervehiclemodel == 522 || playervehiclemodel == 461 || playervehiclemodel == 448 || playervehiclemodel == 468 || playervehiclemodel == 586 || playervehiclemodel == 509 || playervehiclemodel == 481 || playervehiclemodel == 510) { SendClientMessage(playerid,0xE0F1E4FF,"Fehler:Nitro geht nicht auf einem Bike"); return 1; } SendClientMessage(playerid,0xE0F1E4FF,"Nitro eingespritzt"); AddVehicleComponent(GetPlayerVehicleID(playerid),1010); return 1; } return 1; }
Код:
C:\DOKUME~1\Igor\Desktop\SAMPSE~1\GAMEMO~1\lvdm.pwn(577) : error 017: undefined symbol "SUBMISSION"
![confused](images/smilies/confused.gif)