[Ajuda] Coisa simples com comando e uma funзгo
#9

pawn Код:
if(strcmp(cmdtext,"/sf", true) == 0)
if(SemVida(playerid)) return SendClientMessage(playerid, -1, "Vocк nгo pode se teleporta com vida baixa");
else{
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), ">> %s foi para SAN FIERRO [ /SF ] ", pName);
SendClientMessageToAll(-1, string);
SetPlayerInterior(playerid,0);
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
SetVehiclePos(GetPlayerVehicleID(playerid),-2006.3324,146.2305,27.5391);
SetVehicleZAngle(GetPlayerVehicleID(playerid),87.9631);}else{
SetPlayerPos(playerid,-2042.2521,136.4568,28.8359);SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,87.9631);
SetCameraBehindPlayer(playerid);
}
return 1;
}
Reply


Messages In This Thread
Coisa simples com comando e uma funзгo - by JhoWL - 26.10.2013, 15:28
Re: Coisa simples com comando e uma funзгo - by tonisantolia - 26.10.2013, 15:31
Re: Coisa simples com comando e uma funзгo - by JhoWL - 26.10.2013, 16:01
Re: Coisa simples com comando e uma funзгo - by arakuta - 26.10.2013, 18:29
Re: Coisa simples com comando e uma funзгo - by Klions - 26.10.2013, 18:41
Re: Coisa simples com comando e uma funзгo - by andreasbleck - 26.10.2013, 19:33
Re: Coisa simples com comando e uma funзгo - by PT - 26.10.2013, 19:42
Re: Coisa simples com comando e uma funзгo - by andreasbleck - 26.10.2013, 19:45
Re: Coisa simples com comando e uma funзгo - by Jhonni - 26.10.2013, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)