Search Results
pawn Код:
new Float: phealth;GetPlayerHealth(playerid, phealth);if(phealth != 100.0){ // The code goes here}
Enjoy mate!
73
Quote:
Originally Posted by BodyBoardVEVO
But its not for Dynamic checkpoints.
Код:
forward OnDynamicObjectMoved(objectid);
forward OnPlayerEditDynamicObject(playerid, objectid, res...
154
Quote:
Originally Posted by MP2
Look at this line:
for(new i=0;0<s;i++)
For a start, if you spaced it out, it's easier to read:
for(new i=0; 0<s; i++)
Then you may notice the sec...
172
I used it as a public before it didn't solve it
And I want a better solution than put it in the last line :P
172
Код:
public OnPlayerLeaveCheckpoint(playerid)
Have you meant this?
154
I have created a function that called LoadGas
I have located it at OnGameModeInit like that:
Код:
LoadGas();
The problem is that OnGameModeInit function just ignores what comes after that line.
...
172
I printed the normal one and the hashed one :/
inputtext, pword
Don't you check before?
119
Код:
if(response)
{
new uFile[35];
format(uFile, 35, "users/%s.ini", PlayerName(playerid));
new INI:playerFile = INI_Open(uFile);
new pword[128];
...
119
I want to use 2 commands in one key.
For example:
When I press 1:
* gahal156 XXXXX
and
/takegun
I tried this but it didn't work:
* gahal156 XXXXXX ~t /takegun
91
Код:
public Spawn(playerid)
{
if(strcmp(pInfo[playerid][Gender], "Male", true))
{
TogglePlayerSpectating(playerid, 0);
//SetPlayerPos(playerid, -1424.6716, ...
144
Define it the same way you defined the CP.
129
Код:
SetObjectMaterialText(GetPVarInt(playerid,"editlabelid"), inputtext, 0, OBJECT_MATERIAL_SIZE_256x128,\"Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
Try this.
100
the same function worked with dini, so the problem is not with the function...
any ideas?
75