Como aсadir armas a las facciones al spawnear - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Como aсadir armas a las facciones al spawnear (
/showthread.php?tid=356960)
Como aсadir armas a las facciones al spawnear -
alexan12 - 05.07.2012
Me ayudarian con esto,uso zcmd.
Respuesta: Como aсadir armas a las facciones al spawnear -
Bu11Sh0t - 05.07.2012
pawn Код:
public OnPlayerSpawn(playerid
{
if(GetPlayerTeam(playerid) == TEAM_POLICE)
GivePlayerWeapon(playerid, 31, 5000);//le da un m4
else if(GetPlayerTeam(playerid) == TEAM_HITMAN)
GivePlayerWeapon(playerid, 30, 100);//le da un AK47
return 1;
}
Info aqui:
https://sampwiki.blast.hk/wiki/Weapons
https://sampwiki.blast.hk/wiki/GivePlayerWeapon
Respuesta: Como aсadir armas a las facciones al spawnear -
alexan12 - 05.07.2012
Osea asi yyo tengo mis pinfo de facc [pFMember],como seria ?
Respuesta: Como aсadir armas a las facciones al spawnear -
Bu11Sh0t - 05.07.2012
cambia "GetPlayerTeam" por tus pInfo y cambia tambien el TEAM_POLICE por tus definiciones de fracciones (#define POLICIAS 1) o no se como lo tengas