Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/armi", cmdtext, true, 10) == 0)
- {
- GivePlayerWeapon(playerid, 24, 9999); // GivePlayerWeapon: Per givare le armi ||playerid: Il player che fa il comando. ||24 รจ l'id della desert eagle || 9999 sono le munizioni
- return 1;
- }
- if (strcmp("/Skin", cmdtext, true, 10) == 0)
- {
- SetPlayerSkin(playerid, 100); //SetPlayerSkin: Setta la skin || playerid: Il player che fa il comando. || 100 รจ l'id della skin
- return 1;
- }
- if (strcmp("/Skin", cmdtext, true, 10) == 0)
- {
- SetPlayerPos(playerid, x,y,z); //SetPlayerPos: Setta la posizione al player||playerid: Il player che fa il comando ||x,y,z sono le coordinate che dovrai prendere con /save
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement