how to
#1

Ive got these command but i only want it to work with one class any ideas how

This is the class i want it to work for
Код:
( gPlayerClass[playerid] == DEMOLITION ) format(classs,50,"Demolition");
This is command der XD
Код:
new estr[64];
	if (strcmp("/placemine", cmdtext, true) == 0)
	{
		if(!mine[playerid][0]) return SendClientMessage(playerid,0xFFFFFFAA,"You don't have any mines.");
		if(IsValidObject(mine[playerid][2])) DestroyObject(mine[playerid][2]);
		mine[playerid][0] --;
		new Float: q[3];
		GetPlayerPos(playerid,q[0],q[1],q[2]);
		mine[playerid][1] = CreateICp(q[0],q[1],q[2],6);
		mine[playerid][2] = CreateObject(1213,q[0],q[1],q[2]-0.85,0,0,0);
		return 1;
	} else if (strcmp("/mymines", cmdtext, true) == 0) return format(estr,64,"Mines in your pocket: %d",mine[playerid][0]), SendClientMessage(playerid,0x99FF00AA,estr);
 }
Reply
#2

use if(getplayerskin)
Reply
#3

will this go in the group on lines or by it self
Reply
#4

didnt work
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)