an error
#1

I've got this errors

Код:
C:\Users\TSC\Desktop\NGRP edits\USRP4.pwn(20135) : error 029: invalid expression, assumed zero
C:\Users\TSC\Desktop\NGRP edits\USRP4.pwn(20135) : error 017: undefined symbol "cmd_prepare"
C:\Users\TSC\Desktop\NGRP edits\USRP4.pwn(20135) : error 029: invalid expression, assumed zero
C:\Users\TSC\Desktop\NGRP edits\USRP4.pwn(20135) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Here are the lines:

Код:
new PlayerDJ[MAX_PLAYERS][DJ];
new PartyPrepared;
new Float:partyX, Float:partyY, Float:partyZ;
new PplJoinParty;
new PartyOn;
CMD:prepare(playerid, params[])
{
	if(PlayerDJ[playerid][pMember] == 1)
	{
	    new vehID;
	    vehID = GetPlayerVehicleID(playerid);
	    if(GetVehicleModel(vehID) == 459)
	    {
	        if(PlayerDJ[playerid][pCD] >= 1)
	        {
	            new str[128], pName[MAX_PLAYER_NAME];
	            GetPlayerName(playerid, pName, sizeof(pName));
	            PlayerDJ[playerid][pCD]--;
	            format(str, sizeof(str), "DJ %s [ID:%d] is preparing for a party, if you wish to join use (/joinparty)", pName, playerid);
	            SendClientMessageToAll(COLOR_YELLOW, str);
	            SendClientMessage(playerid, COLOR_WHITE, "You have prepared for a party correctly, now you must wait for atleast 5 people to arrive.");
	            GetPlayerPos(playerid, partyX, partyY, partyZ);
	            PartyPrepared = 1;
	        }
	    }
	}
	return 1;
}
THATS THE LINES:

Код:
thats the line:

20.130.new PlayerDJ[MAX_PLAYERS][DJ];
20.131.new PartyPrepared;
20.132.new Float:partyX, Float:partyY, Float:partyZ;
20.133.new PplJoinParty;
20134. new PartyOn;
20135.CMD:prepare(playerid, params[])
20136.{
Help me and you'll get a reputation, thank you..
Reply
#2

You'll need zcmd
https://sampforum.blast.hk/showthread.php?tid=91354

@SilverKiller
Oh.. you edited.. still ..
Reply
#3

Show Line 20135
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)