06.06.2012, 16:36
got these warnings:
C:\Users\iphone\Desktop\0.3e\filterscripts\Event_F s.pwn(53) : warning 202: number of arguments does not match definition
C:\Users\iphone\Desktop\0.3e\filterscripts\Event_F s.pwn(53) : warning 202: number of arguments does not match definition
C:\Users\iphone\Desktop\0.3e\filterscripts\Event_F s.pwn(53) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Warnings.
with the send client message i want to do something like "thefatshizms has given you a landstalker"
etc like that but i dont know how lol
oh and the putplayerinvehicle doesnt work :/
C:\Users\iphone\Desktop\0.3e\filterscripts\Event_F s.pwn(53) : warning 202: number of arguments does not match definition
C:\Users\iphone\Desktop\0.3e\filterscripts\Event_F s.pwn(53) : warning 202: number of arguments does not match definition
C:\Users\iphone\Desktop\0.3e\filterscripts\Event_F s.pwn(53) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Warnings.
pawn Code:
CMD:givecar(playerid,params[])
{
new vehid;
new id;
new Float:X, Float:Y, Float:Z, Float:angle;
if(sscanf(params,"du",vehid, id)) return SendClientMessage(playerid,-1,"Error: - /givecar [vehid] [player id]");
GetPlayerPos(id, X, Y, Z);
GetPlayerFacingAngle(id, angle);
CreateVehicle(vehid, X, Y, Z, angle, 0, 1, -1);
PutPlayerInVehicle(id, vehid, 0);
SendClientMessage(playerid, -1, "%s has given you a vehicle", GetPlayerName(playerid));
return 1;
}
etc like that but i dont know how lol
oh and the putplayerinvehicle doesnt work :/