18.03.2009, 23:29
Defining max chars if most often used for strings and you don't need it for saving numbers...
So It Will be: p_Vehicle[0][mod] = 3 // I think you want to return playerID so insted of 0 put playerid.... cuz this will only work for playerid = 0...
So in comparing it will be something as:
And replacing mod[10] with just mod
So It Will be: p_Vehicle[0][mod] = 3 // I think you want to return playerID so insted of 0 put playerid.... cuz this will only work for playerid = 0...
So in comparing it will be something as:
pawn Код:
if(p_Vehicle[playerid][mod] == 3)
{
// do something
}