10.04.2013, 03:12
Dear DetoNater,
Well, the very first and obvious error, that you missed a pair of braces. The correct code looks like this:
Also, as a quick note; you'd watch for the correct indentation of your codes.
Kind regard,
T101
Well, the very first and obvious error, that you missed a pair of braces. The correct code looks like this:
pawn Код:
CMD:acar(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:x, Float:y, Float:z, Float:az;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, az);
CreateVehicle(596, x+5, y+5, z, az, -1, -1, 180);
}
return 1;
}
Kind regard,
T101

