Regarding...
#7

vxrp2 relies on group types for groups, especially for the LSPD, as it is a group, not a job.

pawn Код:
if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1 && playerVariables[playerid][pGroup] != 0) {
Take a look at the code above, that's from the /lspd command. It should be common sense to look for functions that use similar code, you'll be able to understand from it and try make what you're trying to do.

You'll also notice code below in the /lspd command code:

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 5, 264.1055,109.8094,1004.6172) && GetPlayerInterior(playerid) == 10) {
The code, combined, checks if the player is in the LSPD and if they're at certain coordinates and in the correct interior.
Reply


Messages In This Thread
Regarding... - by Jordiee - 22.11.2011, 16:24
Re: Regarding... - by Jochemd - 22.11.2011, 16:26
Re: Regarding... - by Jordiee - 22.11.2011, 16:27
Re: Regarding... - by Jochemd - 22.11.2011, 16:30
Re: Regarding... - by Max_Coldheart - 22.11.2011, 16:30
Re: Regarding... - by Jordiee - 22.11.2011, 16:32
Re: Regarding... - by Calgon - 22.11.2011, 16:40
Re: Regarding... - by Jordiee - 22.11.2011, 16:43
Re: Regarding... - by Jordiee - 22.11.2011, 16:53
Re: Regarding... - by Jordiee - 22.11.2011, 17:06

Forum Jump:


Users browsing this thread: 4 Guest(s)