Changing.
#1

PHP код:
stock GetGangID(id)
{
    foreach(new 
Gangs)
        
//if(Gang[i][GangID] == id)
            
return i;
    return -
1;

Anyway to change it to that format?

PHP код:
if(pGroupID[playerid] == -1
To get the gang ID.
Reply
#2

Well, is not it good what you did?

Код:
stock GetGangID(id) 
{ 
    foreach(new i: Gangs) {
        if(Gang[i][GangID] == id) return i; 
    }
    return -1; 
}
your code is good
Reply
#3

I wanna to make it in pGroupID not gangID
Reply
#4

you can make

if(pGroupID[playerid] == GetGangID(id))
Reply
#5

Quote:
Originally Posted by Florin48
Посмотреть сообщение
you can make

if(pGroupID[playerid] == GetGangID(id))
Bro i wanna make whole in same style but in pGroupID , i'll remove GangID
Reply
#6

Find and Replace?


But seriously though, what?
Reply
#7

Quote:
Originally Posted by Dangjai
Посмотреть сообщение
Bro i wanna make whole in same style but in pGroupID , i'll remove GangID
If you're using a premade script, you're going to find that very difficult, but when a player joins a gang, you can set their gang pGroupID and then check the group ID from that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)