20.01.2013, 12:35
I've got this errors
Here are the lines:
THATS THE LINES:
Help me and you'll get a reputation, thank you..
Код:
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.
Код:
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 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.{