28.11.2010, 19:26
can't make it work. bug?
i've tryed with this codes:
but none of them work. (N)
i've tryed with this codes:
pawn Код:
if(!strcmp(cmd, "/patente", true)){
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
SetVehicleNumberPlate(GetPlayerVehicleID(playerid), name);
return 1;
}
if(!strcmp(cmd, "/patente2", true)){
new tmp[256];
tmp = strtok(cmdtext, idx);
SetVehicleNumberPlate(GetPlayerVehicleID(playerid), tmp);
return 1;
}
if(!strcmp(cmd, "/patente3", true)){
SetVehicleNumberPlate(GetPlayerVehicleID(playerid), "jaja");
return 1;
}