Cmd issue
#4

Okay I edited something and I ended up with this:
pawn Код:
}
    if (strcmp("/grass start", cmdtext, true, 10) == 0)
    {
    if IsPlayerInsideVehicle(playerid, 572)*then


 {
 }
   SetPlayerCheckpoint(playerid, 779.9626, -1259.1793, 13.5719, 3.0);
     return 1;
     }
     else
     {
     SendClientMessage(playerid,0xFFFFFFAA, "You are not driving a lawnmower");
     return 1;
     }

     return 0;

 }
Код:
C:\Users\Bastian\Documents\Samp_server\gamemodes\Test.pwn(431) : warning 209: function "IsPlayerInsideVehicle" should return a value
C:\Users\Bastian\Documents\Samp_server\gamemodes\Test.pwn(445) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply


Messages In This Thread
Cmd issue - by Shinzei_Banzai - 07.07.2009, 11:57
Re: Cmd issue - by refshal - 07.07.2009, 12:05
Re: Cmd issue - by Shinzei_Banzai - 07.07.2009, 12:07
Re: Cmd issue - by Shinzei_Banzai - 07.07.2009, 12:09
Re: Cmd issue - by happyface - 07.07.2009, 12:10
Re: Cmd issue - by Shinzei_Banzai - 07.07.2009, 12:18
Re: Cmd issue - by refshal - 07.07.2009, 12:19
Re: Cmd issue - by happyface - 07.07.2009, 12:21
Re: Cmd issue - by Shinzei_Banzai - 07.07.2009, 12:23
Re: Cmd issue - by happyface - 07.07.2009, 12:52

Forum Jump:


Users browsing this thread: 2 Guest(s)