Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- newScore <- GetTok( text, " ", 1 );
- // Global Variable ^
- // Command
- else if ( command == "setscore" )
- {
- if (!text) VCLPrivMessage("Use the correct syntax. /c setscore ID number.", player);
- else
- {
- local plr = FindPlayer( text.tointeger() );
- if (!plr) VCLPrivMessage("This player is offline.", player);
- else
- {
- if (PlayerLevel( plr ) == 0) VCLPrivMessage("This player is not registered.", player);
- else
- {
- plr.Score = newScore;
- VCLPrivMessage("New score set.", plr);
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment