Quote:
Originally Posted by benjaminjones
pawn Код:
if(strcmp(cmd, "/apark", true) == 0) { GetPlayerName(playerid, sendername, 256); if (PlayerInfo[playerid][pAdmin] >= MASTER) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle."); new vehicle = GetPlayerVehicleID(playerid); new Float:x, Float:y, Float:z, Float:c; GetVehiclePos(vehicle, Float:x, Float:y, Float:z); GetVehicleZAngle(vehicle, Float:c); CarInfo[vehicle][cLocationx] = x; CarInfo[vehicle][cLocationy] = y; CarInfo[vehicle][cLocationz] = z; CarInfo[vehicle][cAngle] = c; SaveCars(); return 1; }
|
Gave 26 errors in other different things.