02.05.2010, 15:26
pawn Код:
new name[25] = "Hello!";
new name2[25] = "Loler";
if (name != name2) RemovePlayerFromVehicle(playerid);
Код:
error 033: array must be indexed (variable "name")
new name[25] = "Hello!";
new name2[25] = "Loler";
if (name != name2) RemovePlayerFromVehicle(playerid);
error 033: array must be indexed (variable "name")
new name[25] = "Hello!";
new name2[25] = "Loler";
if(strcmp(name,name2,false)) RemovePlayerFromVehicle(playerid);
Originally Posted by Mauzen
Its just a pawn problem. Strings can be seen as array of ints, representing the single chars.
And the '!=' just cant compare whole arrays. |