Setplate help
#4

Thanks, let me see if it work

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.
Help ?


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;
	}
Reply


Messages In This Thread
Setplate help - by Meinstad - 13.03.2011, 14:00
Re: Setplate help - by alpha500delta - 13.03.2011, 15:02
Re: Setplate help - by xRyder - 13.03.2011, 15:08
Re: Setplate help - by Meinstad - 13.03.2011, 16:00
Re: Setplate help - by xRyder - 13.03.2011, 16:51
Re: Setplate help - by Hashski - 13.03.2011, 16:59
Re: Setplate help - by Meinstad - 13.03.2011, 17:02
Re: Setplate help - by xRyder - 13.03.2011, 17:09
Re: Setplate help - by Meinstad - 13.03.2011, 17:13
Re: Setplate help - by HyperZ - 13.03.2011, 17:14

Forum Jump:


Users browsing this thread: 1 Guest(s)