Hey, bekomme ständig den Error: (In Zeile 188 )
error 001: expected token: ")", but found "return"
Code
if(!strcmp(cmdtext, "/scar", false, 5))
{
if(!strlen(cmdtext[5]) return SendClientMessage(playerid, ROT, "Nutze: /scar [Fahrzeug ID]");
new veh = strval(cmdtext[5]);
if(veh < 400 || veh > 611) return SendClientMessage(playerid, ROT, "ERROR: Invalid Vehicle Model");
new Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x,y,z); GetPlayerFacingAngle(playerid, a);
sCar[playerid] = CreateVehicle(veh, x,y,z, a, -1, -1, -1);
return 1;
}
Zeile 188 ist: