08.05.2012, 19:30
ta com essa warning aqui
e й isso aqui que tem no OnPlayerCommandText
(sou novo no pawno)
Quote:
C:\Documents and Settings\note\Desktop\samp03dsvr_R2_win32\gamemode s\GM.pwn(263) : warning 209: function "OnPlayerCommandText" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |
(sou novo no pawno)
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) if(strcmp(cmdtext,"/ps",true)==0) { new vehicleid = GetPlayerVehicleID(playerid); new State = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER) { GameTextForPlayer(playerid,"Concerte seu Carro",4000,6); LinkVehicleToInterior(vehicleid,0); SetPlayerInterior(playerid,0); return SetVehiclePos(vehicleid,2079.0764,-1831.3076,13.382; } SetPlayerPos(playerid,2079.0764,-1831.3076,13.382; SetPlayerInterior(playerid,0); GameTextForPlayer(playerid,"Concerte seu Carro",4000,6); return 1; } |