08.08.2016, 12:19
Quote:
How can i call a custom string? I have someting like: format( cmd, 32, "stunt%d", stuntID ); so how can i call it?
|
pawn Код:
format( cmd, 32, "/stunt%d", stuntID );
PC_EmulateCommand( playerid, cmd ); // recommended, as it is handled as a regular command
pawn Код:
format( cmd, 32, "pc_cmd_stunt%d", stuntID );
CallLocalFunction( cmd, "s", "\0" );