Search Results
I'm using y_ini.
141
Player Connects choose a team. Then when he disconnects save it. When he connects what to do? I have no idea. Anyone can imagine what to do?
141
Quote:
Originally Posted by [ISS]jumbo
You have try some like this?
pawn Код:
COMMAND:turf(playerid){Â Â for(new i = 0; i < MAX_TURFS; i++)Â Â {Â Â Â Â if(IsPlayerInTurf(pl...
125
Quote:
Originally Posted by [ISS]jumbo
pawn Код:
COMMAND:turf(playerid){Â Â for(new i = 0; i < MAX_TURFS; i++){Â Â if(IsPlayerInTurf(playerid, turfs[i][zMinX], turfs[i][zMinY], ...
125
I need so if player is not in turf send the message you are not in a turf.
pawn Код:
COMMAND:turf(playerid){Â Â for(new i = 0; i < MAX_TURFS; i++){Â Â if(IsPlayerInTurf(playerid, turfs[i][...
125
pawn Код:
dcmd_stats(playerid, cmdtext[]){Â Â Â Â new player1, tmp[256];Â Â Â Â new playername[MAX_PLAYER_NAME];Â Â Â Â new string[256], idx;Â Â Â Â tmp = strtok(cmdtext, idx);Â Â...
77
I want to find the deafult gta sa gang zone cordinates to make my los santos gang zones. Where can i find them, wilk the coords work with GangZoneCreate...
151
Quote:
Originally Posted by iggy1
You need to use a loop inside the LastPlayerAlive function and remove the "playerid" parameter from it too. I don't know if that'll fix your problem but i...
135
I have that code that checks if the players is the last alive in the mission and it's not working. When the player is the last alive nothing happen. I checked all the variables are right. What's the p...
135
Quote:
Originally Posted by JaTochNietDan
Are you sure the randomization is done in the loop and not outside of the loop?
everything is inside the loop exept this new rand = random(size...
431
Quote:
Originally Posted by JaTochNietDan
So you're using a loop to go through all players and generate a random number the size of the array for each of them and then set their position t...
431
Quote:
Originally Posted by JaTochNietDan
Have you tried changing the i to playerid?
pawn Код:
SetPlayerPos(playerid, lmsSpawns[rand][0], lmsSpawns[rand][1],lmsSpawns[rand][2]);
I ca...
431
Quote:
Originally Posted by JaTochNietDan
Well it doesn't seem that you've even set a randomized number for that variable. I also wonder why you use i in one and playerid in the other.
p...
431
I have made random spawns for my mission. I don't know why but all players spawn at the same position. I want to all the players have their own position. How to fix this.
pawn Код:
new Float:Miss...
431
Quote:
Originally Posted by blackwave
You get confused with english a bit, I think =S. Try it:
Код:
public OnPlayerUpdate(playerid)
{
new Float:armour;
GetPlayerArmour(playerid...
125
Quote:
Originally Posted by blackwave
Maybe test on the server? See if works at least
pawn Код:
public OnPlayerUpdate(playerid){Â Â new Float:armour;Â Â new Armour = GetPlayerAr...
125
Quote:
Originally Posted by blackwave
Код:
public OnPlayerUpdate(playerid)
{
new Armour; Armour = GetPlayerArmour(playerid);
if(Armour == 100)
{
Ban(playerid);
}
...
125
Quote:
Originally Posted by blackwave
Код:
public OnPlayerUpdate(playerid)
{
new Armour = GetPlayerArmour(playerid);
if(Armour == 100.0)
{
Ban(playerid);
}
retu...
125
Код:
error 035: argument type mismatch (argument 2)
pawn Код:
public OnPlayerUpdate(playerid){Â Â new Armour = GetPlayerArmour(playerid, 100.0);Â Â if(Armour == 100.0)Â Â {Â Â Ban(play...
125
You mean something like this?
pawn Код:
new Float:Armour[MAX_PLAYERS];public OnPlayerUpdate(playerid){new Armour = GetPlayerArmour(playerid);f(Armour == 100.0){Ban(playerid);}return 1;}
162