23.12.2011, 19:08
Hey guys. I am new at scripting. Can someone show me how to give player weapon when he joins the server? Thanks.
GivePlayerWeapon(playerid, weaponid, ammo);
public OnPlayerConnect(playerid)
{
return 1;
}
GivePlayerWeapon(playerid, weaponid, ammo);
public OnPlayerConnect(playerid)
{
GivePlayerWeapon(playerid, weaponid, ammo);
return 1; //Always return 1 to allow this callback to continue into filterscripts.
}