[pawn] new Float: x, Float:y, Float:z, Float:a;
if(strcmp(cmd, \"/getcar\",true) == 0)
{
if (Admin(playerid,1) || Playerinfo[playerid] [pHelper] >= 1)
{
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
CreateVehicle(522,x+1,y+1,z,a,1,1,10000);
}
else
{
SendClientMessage(playerid, -1, \"Nem vagy Admin!\");
}
return 1;
}[/pawn]
Mi a gond?