I need a bit of help with this script
#1

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/mehlop", true)==0)
{
 new vehicleid = GetPlayerVehicleID(playerid);
 new State = GetPlayerState(playerid);
 if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
 {
  return SetVehiclePos(vehicleid,1708.5780,1606.8759,10.0156),
  GameTextForPlayer(playerid, "~r~Welcome to the wolvez base wolf!", 5000, 5);
 }
 SetPlayerPos(playerid,1708.5780,1606.8759,10.0156);
 GameTextForPlayer(playerid, "~r~Welcome to the wolvez base wolf!", 5000, 5);
return 1;
}
}
when the person teleports there how do i make his color red?
Reply
#2

Under the teleport:
SetPlayerColor(playerid,0xE60000FF);

Ecko
Reply
#3

Quote:
Originally Posted by .::: Ecko :::.
Under the teleport:
SetPlayerColor(playerid,0xE60000FF);

Ecko
Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)