06.06.2009, 13:57
Hello. I don't know how to fix this problem.. Can you help me? Here is script:
And here is error:
Код:
if(!strcmp(cmdtext,"/desrainis",true)) { for(new i = 0; i < MAX_VEHICLES; i++) { if(IsPlayerConnected(i)) { if(GetVehicleModel(GetPlayerVehicleID(i)) == 588)//hotdog { new Float:px, Float:py, Float:pz; GetVehiclePos(i, px, py, pz); if(PlayerToPoint(4, i, px, py, pz))// 177 line { SetPlayerHealth(i, 100.0); GivePlayerMoney(i, -15); SendClientMessage(i,0xFFFF00AA,"***Astrus desrainis..."); } else { SendClientMessage(i,0xFFFF00AA,"***Jus per toli nuo masinos."); } } } } return 1; } return 0; }
Код:
(177) : error 017: undefined symbol "PlayerToPoint"