Hallo ich habe folgenden Error bei meinen /veh Befehl:
C:\Users\Fabi\Desktop\NeroSports - SAMP\NeroDM\gamemodes\NeroDM.pwn(204) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664
/veh Script:
if(strcmp(strget(cmdtext,0),"/veh", true) ==0)
{
if(!strlen(strget(cmdtext,3))) return SendClientMessage(playerid,"Benutze: /veh [VEHICLE] [COLOR1] [COLOR2]");
{
new modelid, col1, col2, car;
new Float:PosX,Float:PosY,Float:PosZ,Float:PosZA;
GetPlayerPos(playerid, PosX,PosY,PosZ);
GetPlayerFacingAngle(playerid,PosZA);
modelid = strval(strget(cmdtext,1));
col1 = strval(strget(cmdtext,2));
col2 = strval(strget(cmdtext,3));
car = AddStaticVehicle(modelid,PosX,PosY,PosZ,PosZA,col1,col2);
PutPlayerInVehicle(playerid,car,0);
}
HILFE BITTE