gabyskm96 Posted April 18, 2013 Posted April 18, 2013 Salut! Am vazut pe mai multe servere ca poti vedea de la volan printro simpla comanda changeview parca cum as putea sa o fac si eu sa imi functioneze ?
[Funky]Anakin Posted April 19, 2013 Posted April 19, 2013 [pawn]#define SCMToAll SendClientMessageToAllCMD:vw( playerid , params[ ] ){ new VW, vString[ 200 ]; if( sscanf ( params , "i" , VW ) ) return SCM( playerid , -1 , ""O"Usage: "R"/vw "G"[ world ]" ); if( VW > 999999 ) return SCM( playerid , -1 , ""O"Invalid Virtual World" ); if( IsPlayerInAnyVehicle( playerid )) { SetVehicleVirtualWorld( GetPlayerVehicleID( playerid ) , VW ); SetPlayerVirtualWorld( playerid , VW ); format( vString , sizeof vString , ""O"You Have Set Your World To "R"%d" , VW ); SCMToAll( -1 , vString ); } else { SetPlayerVirtualWorld( playerid , VW ); format( vString , sizeof vString , ""O"You Have Set Your World To "R"%d" , VW ); SCMToAll( -1 , vString ); } return ( 1 ) ;}[/pawn]
Question
gabyskm96
Salut! Am vazut pe mai multe servere ca poti vedea de la volan printro simpla comanda changeview parca cum as putea sa o fac si eu sa imi functioneze ?
1 answer to this question
Recommended Posts