leave subnetban
i need alias
and i have getcar cmd from gangster
but its not work
[pawn] else if (strcmp(cmd, "!getcar", true) == 0) {
tmp = strtok(cmdtext, idx);
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
else if(!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN, "USAGE: !getcar [VehicleID]");
else if(IsVehicleOwnedShared(strval(tmp),gPlayers[playerid]) == -1) SendClientMessage(playerid,COLOR_GREEN, "You do not have the keys for that vehicle.");
else {
new Float:Angle;
GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid,Angle);
if(!Angle) SendClientMessage(playerid,COLOR_GREEN,"Error: Invalid vehicle!");
SetVehiclePos(strval(tmp),x+3,y+3,z,Angle);
format(szMsg,sizeof(szMsg),"Spawning vehicle:[ %d ]",strval(tmp));
SendClientMessage(playerid,COLOR_GREEN,szMsg);
}[/pawn]