Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define MAX_QWE 4
- new QWERTZ[MAX_QWE]; //not to reveal the true name :)
- new bc;
- if (strcmp("/bc", cmdtext, true, 10) == 0)
- {
- if(QWERTZ[playerid] == MAX_QWE) //create cmd
- {
- SendClientMessage(playerid,RED,"You don't have any more QWE");
- return 0;
- }
- GetPlayerPos(playerid,Float:x,Float:y,Float:z);
- bc = CreatePlayerObject(playerid,1484,Float:x + 1,Float:y + 1,Float:z,0.0,0.0,0.0);
- QWERTZ[playerid] = QWERTZ[playerid] + 1;
- }
- if (strcmp("/dbc", cmdtext, true, 10) == 0) // destroy cmd
- {
- //What goes here? :)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement