30.11.2013, 23:43
Код HTML:
new v = GetPlayerVehicle(b, vehicleid); new VehicleId[MAX_PLAYERS]; if(GetPlayerState(a) == PLAYER_STATE_DRIVER) { if(SpeedCameras[b][_usemph] == 0) { SendClientMessageEx(a,0xFF1E00FF,"sisis","You are driving too fast! you got busted driving ",speed,"kmh where you were allowed to drive ",limit, "kmh."); SendClientMessageEx(a,0xFF1E00FF,"sis","You got yourself a fine of $",SpeedCameras[b][_fine],"."); } else { SendClientMessageEx(a,0xFF1E00FF,"sisis","You are driving too fast! you got busted driving ",speed,"mph where you were allowed to drive ",limit, "mph."); SendClientMessageEx(a,0xFF1E00FF,"sis","You got yourself a fine of $",SpeedCameras[b][_fine],"."); } GivePlayerCash(a, - SpeedCameras[b][_fine]); PlayerVehicleInfo[b][v][pvTicket] += 1000;
PHP код:
C:\osama\gamemodes\abcs.pwn(105467) : error 017: undefined symbol "vehicleid"