23.08.2011, 16:11
Hi , i have a lot of commands like :
and i have other commands with zcmd ad they are working like :
INCLUDES :
but the Problem , is whene i go IG and use /joinstars or /ucjoin it says" Unknown command "
so i mean , the script know zcmd commands not other .... I need Help
pawn Code:
if (strcmp("/joinstars", cmdtext, true, 10) == 0)
{
if(GetPlayerScore(playerid) >= 800)
{
SetPlayerPos(playerid, -2239.9321,-1747.2985,480.8629);
SetPlayerSkin(playerid, 287);
gTeam[playerid] = TEAM_STARS;
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 100);
GivePlayerWeapon(playerid, 26, 100);
GivePlayerWeapon(playerid, 31, 500);
SetPlayerColor(playerid,0x0000FFAA);
SendClientMessage(playerid,0x0000FFAA," Welcome to the STARS QG!");
}
else
{
SendClientMessage(playerid,0x90EE90FF,"You must have a score of at least 800 to be member of this Faction!");
}
return 1;
}
and i have other commands with zcmd ad they are working like :
pawn Code:
CMD:zombieo(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 5, -2315.3188476563, -2169.1782226563, 41.085674285889, 5))
{
if(gTeam[playerid] == TEAM_ZOMBIE)
{
MoveObject(zombiegate, -2315.3188476563, -2169.1782226563, 35, 5);
PlayerPlaySound(playerid, 1035, -2315.3188476563, -2169.1782226563, 41.085674285889, 5);
SendClientMessage(playerid, 0xFFFFFF, "You take your remote console and open the gate...");
}
}
else
{
SendClientMessage(playerid, 0xAA3333AA, "You must be zombie and near the gate to use it.");
}
return 1;
}
pawn Code:
#include <a_samp>
new zombiegate;
new humangate;
#include <core>
#include <float>
#include <zcmd>
#include <colors>
so i mean , the script know zcmd commands not other .... I need Help