26.03.2013, 17:00
Код:
if (strcmp("/s", cmdtext, true, 10) == 0) { new i = strval( params ); > if( isnull( params ) || !isnumeric( params ) || !(1 <= i <= 200 )) > { > return SendClientMessage( playerid, 0xFFFF00AA, "[USAGE] /s [1 - 200]" ); > } GetPlayerPos( playerid, g_fPos[ playerid ][ i ][ 0 ], g_fPos[ playerid ][ i ][ 1 ], g_fPos[ playerid ][ i ][ 2 ] ); GetPlayerFacingAngle( playerid, g_fPos[ playerid ][ i ][ 3 ] ); GameTextForPlayer( playerid, "~g~Saved!", 1000, 4 ); return 1; }