zaster Posted August 28, 2011 Posted August 28, 2011 Deci Vreau sa stiu si eu cum pot Pune la OnPlayerText sa Pun la Un Player In fata Numelui (VIP)eu am incercat ceva dar numi arata sistemu vip este alui speedy daca stiti va rog ajutatima..
xxSPEEDYxx Posted August 28, 2011 Posted August 28, 2011 uite inlocuieste OnPlayerText din script cu asta: public OnPlayerText( playerid, text[ ] ) { new textstr[ 128 ], str[ 128 ]; if ( text[ 0 ] == '!' && P_DATA[ playerid ][ Vip ] >= 1 ) { GetPlayerName( playerid, textstr, sizeof( textstr ) ); format( textstr, sizeof( textstr ),"V.I.P Chat: {00FF00}%s{FF5500}: %s", textstr, text[ 1 ] ); SendVipMessage( COLOR_VIP, textstr ); return 0; } if ( P_DATA[ playerid ][ Vip ] >= 1 ) { format( str, sizeof( str ), "{E60000}(VIP): {FFFFFF}%s", text ); SendPlayerMessageToAll( playerid, str ); return 0; } return 1; } Fara reclama in semnatura!
IstuntmanI Posted August 28, 2011 Posted August 28, 2011 Nici n-ai incercat + nu se cer scripturi.http://wiki.sa-mp.com/wiki/SendPlayerMessageToAll
Question
zaster
Deci Vreau sa stiu si eu cum pot Pune la
OnPlayerText
sa Pun la Un Player In fata Numelui (VIP)
eu am incercat ceva dar numi arata
sistemu vip este alui speedy daca stiti va rog ajutatima..
2 answers to this question
Recommended Posts