- 0
[GF/RP] Problema OnPlayerRequestSpawn
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
BorneoJr
Salut, deci am incercat sa fac ca atunci cand eu sunt civil si sunt la Class selection sa nu pot alege skin de lider PD,FBI,NG, MEDIC ..etc, normal la OnPlayerRequestSpawn trebuie sa fac ceva?
Am asa:
[pawn]public OnPlayerRequestSpawn(playerid)
{
new classid;
if(classid == 1 && PlayerInfo[playerid][pLeader] == 1)
{
PlayerInfo[playerid][pChar] = 295;
}
else
{
SendClientMessage(playerid, -1,"Nu esti lider PD, deci nu te poti spawn-a.");
return 0;
}
return 1;
}[/pawn]
Va rog frumos sa ma ajuati, de 4 luni incerc sa fac asta si nu merge.
5 answers to this question
Recommended Posts