Search Results
Basically what the for loop does the first line, makes a variable for each player on the server, then it checks each player to see if they are an admin, if they are an admin then it will send a messag...
235
try this with the code I gave you but add this at the end, for (new i = 0; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { if (IsPlayerAdmin(i) || pAdmi...
235
its not really like C++ at all, C++ uses cout << ("text here"); to print things yet pawn uses print("texthere"); and printf, as Jonny5 says, pawn is based on C, although C++ derives itself from ...
141
//admin duty//////////////////////////////////////////// dcmd_adminduty(playerid, params[]) { new selection[64], on[32], off[32]; on = "on"; off = "off"; if (sscanf(params, "s[64]", selection)) re...
235
okay cool, I could still work with that, thanks mate
72
I dont fully understand the random function is there a way to make a random number between say 1 - 100?
72
public OnPlayerDeath(playerid, killerid, reason) { new deathskin[MAX_PLAYERS]; deathskin[playerid] = GetPlayerSkin(playerid); dini_IntSet(file, "DeathPlayerSkin", deathskin[playerid]); return 1; }
152
when a player in my server dies they lose $100 but i havent scripted this, however if there money is below 0 then it dosnt take away $100, this is screwing with my anit money cheat, is there any way ...
152
thanks this helped me out alot
121
say like - if a command makes another players armour full, it can only make the armour full if the player does /accept armour
121
How do you make a command that only works with the other players permission, can someone give me an example please?
121
//admin message///////////////////////////////////////////////////////////// dcmd_a(playerid, params[]) { if(pAdminLevel[playerid] >= 1 || IsPlayerAdmin(playerid)) { new amessage[256], st...
195
Awesome I gave you your first rep!
91
cool thanks bro, I know what to do now!
91
Im trying to make a hitman faction, is there a function that checks who killed a certain person, that way I can direct the payment to them.
91
I am trying to make some 24/7s but when you enter one from one entrance it goes to the same 24/7 no matter what, what I'm trying to do is make separate 24/7s with the same interior, how would I do thi...
84