19.04.2009, 11:23
i want that if i type /accar cheetah that a cheetah will spawn..
now im using this:
http://forum.sa-mp.com/index.php?topic=62210.0
this is my code:
And this error:
Please help me,
Thnx
now im using this:
http://forum.sa-mp.com/index.php?topic=62210.0
this is my code:
pawn Код:
dcmd_test(playerid,params[])
{
new vehicle;
if(sscanf(params, "s", vehicle))
{
SendClientMessage(playerid, COLOR_RED, "No Vehicle Name Given");
} else {
GetVehicleModelIDFromName(vehicle);
}
SendClientMessageToAll(COLOR_LIGHTBLUE, aVehicleNames[vehicle - 400]);
return 1;
}
pawn Код:
E:\_Spellen\bkp\filterscripts\dcadmin.pwn(591) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Thnx