13.03.2011, 16:00
Thanks, let me see if it work
Edit: I got errors :S
Help ?
These is what I got;
Edit: I got errors :S
Код:
C:\Program Files\Rockstar Games\GtaSa\SAMP\SERVER\gamemodes\rp.pwn(19679) : error 028: invalid subscript (not an array or too many subscripts): "pInfo" C:\Program Files\Rockstar Games\GtaSa\SAMP\SERVER\gamemodes\rp.pwn(19679) : warning 215: expression has no effect C:\Program Files\Rockstar Games\GtaSa\SAMP\SERVER\gamemodes\rp.pwn(19679) : error 001: expected token: ";", but found "]" C:\Program Files\Rockstar Games\GtaSa\SAMP\SERVER\gamemodes\rp.pwn(19679) : error 029: invalid expression, assumed zero C:\Program Files\Rockstar Games\GtaSa\SAMP\SERVER\gamemodes\rp.pwn(19679) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
These is what I got;
Код:
if (strcmp(cmdtext, "/setplate", true) == 0) { new vehicleid;//Since it's not defined under OnPlayerCommandText vehicleid = GetPlayerVehicleID(playerid);//So that it actually gets the vehicleid if(pInfo[playerid][pDonateRank] < 1) return SendClientMessage(playerid, COLOR, "You're not a VIP");//I am guessing you are using pInfo SetVehicleNumberPlate(vehicleid, "I'm {7D0541} VIP");//Setting the plate to "Hi" return 1; }