event bug...
#1

the system was working but i dont know what the heck happened to him...

Quote:

CMD:join(playerid, params[])
{
if(pInfo[playerid][Joined] == 1) return SendClientMessage(playerid, RED, "You are already in the event!");
SetPlayerPos(playerid,GetPVarFloat(playerid,"xxpos "), GetPVarFloat(playerid,"yypos"), GetPVarFloat(playerid,"zzpos"));
SetPlayerInterior(playerid,GetPVarInt(playerid,"in t"));
SetPlayerVirtualWorld(playerid,GetPVarInt(playerid ,"world"));
SendClientMessage(playerid, GREEN, "You have joined the event!");

Quote:

CMD:epos(playerid, params[])
{
if(pInfo[playerid][Admin]<4) return SendClientMessage(playerid, RED, "ERROR: You are not a high enough level to use this command");
GetPlayerPos(playerid,x,y,z);
SetPVarFloat(playerid,"xxpos",x);
SetPVarFloat(playerid,"yypos",y);
SetPVarFloat(playerid,"zzepos",z);
SetPVarInt(playerid,"int",GetPlayerInterior(player id));
SetPVarInt(playerid,"world",GetPlayerVirtualWorld( playerid));
SendClientMessage(playerid, GREEN, "Event Position Has Been Set!");
eInfo[Pos] = 1;
return 1;
}

Reply
#2

What's the problem though? What did it used to do and what does it do now?

Also, I'm not quite sure, but should that space be there? In SetPlayerPos, xxpos.

Код:
GetPVarFloat(playerid,"xxpos "),
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)