array must be indexed
#1

PHP код:
 error 033: array must be indexed (variable "RentedBy")
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
1 Error

Error
PHP код:
new RentedBy[MAX_VEHICLES][24];  // top of script
RentedBy[vID] = GetPlayerName(playeridnamesizeof(name)); 
Reply
#2

new RentedBy[MAX_VEHICLES];
Reply
#3

PHP код:
GetPlayerName(playeridnamesizeof(name));
RentedBy[vID] = name
Reply
#4

guys, just stop typing random codes please, you're making it worse.

OT: use this.
PHP код:
GetPlayerName(playeridRentedBy[vID], 24); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)