10.07.2012, 13:45
Pra vcs entenderem melhor como que estб o pwn:
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 0)
{
Gang[playerid] = Gang1;
GameTextForPlayer(playerid,"Teste1",6000,6);
}
else if(classid == 1)
{
Gang[playerid] = Gang2;
GameTextForPlayer(playerid,"Teste2",6000,6);
SetPlayerPos(playerid, 2587.7319,2310.7056,17.8222);
SetPlayerCameraPos(playerid, 2580.0481,2309.5459,17.8222);
SetPlayerCameraLookAt(playerid, 2580.0481,2309.5459,17.8222);
return 1;
}
public OnPlayerConnect(playerid)
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 0)
{
Gang[playerid] = Gang1;
GameTextForPlayer(playerid,"Teste1",6000,6);
}
else if(classid == 1)
{
Gang[playerid] = Gang2;
GameTextForPlayer(playerid,"Teste2",6000,6);
SetPlayerPos(playerid, 2587.7319,2310.7056,17.8222);
SetPlayerCameraPos(playerid, 2580.0481,2309.5459,17.8222);
SetPlayerCameraLookAt(playerid, 2580.0481,2309.5459,17.8222);
return 1;
}
public OnPlayerConnect(playerid)