What's wrong here?
#1

I made this code,put it in OnPlayerUpdate nut anyway half of the code isn't working:

pawn Код:
if(model == 541 && gTimeTravel[playerid] == 1 && GetPlayerSpeed(playerid) == 154)
   {
     SetPlayerPos(playerid,953.7294,-5127.9546,10.8525);
     if(IsPlayerInAnyVehicle(playerid)) return SetVehiclePos(vehicleid,953.7294,-5127.9546,10.8525) && SetVehicleHealth(vehicleid,0);
     SetPlayerWeather(playerid,16);
     new Float:x,Float:y,Float:z;
     SetPlayerPos(playerid,x,y,z+3);
     SendClientMessage(playerid,COLOR_RED,"2012.Aquring infos......");
     SendClientMessage(playerid,COLOR_RED,"System damage:99%,car destroyed,sending survival infos....");
     SendClientMessage(playerid,COLOR_RED,"System:Car detected on island,around.........");
     SendClientMessage(playerid,COLOR_RED,"SYSTEM STATE:CRITICAL,DAMAGE 100%,shutting down....");
     gTimeTravel[playerid] = 0;
  }
So the client messages can't be sent why?
Reply


Messages In This Thread
What's wrong here? - by Cjgogo - 14.07.2011, 13:43
Re: What's wrong here? - by Cjgogo - 14.07.2011, 15:11
Re: What's wrong here? - by Toreno - 14.07.2011, 15:12
Re: What's wrong here? - by HP - 14.07.2011, 16:02
Re: What's wrong here? - by Scenario - 14.07.2011, 16:05
Re: What's wrong here? - by HP - 14.07.2011, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)