Search Results
pawn Код:
CMD:ban(playerid, params[]){ new pID, reason[68], msg[128], name[MAX_PLAYER_NAME], bannername[MAX_PLAYER_NAME]; if(sscanf(params, "us", pID, reason)) return SendClientMessage(p...
207
Maybe a timer to check when a vehicle loses to much health then it takes health from the player?
59
Quote:
Originally Posted by Dwane
It won't. You've got extra bracket "{".
Well I tested it and it worked, so...
179
Код:
CMD:heal(playerid, params[])
{
new pID, money, Float:x, Float:y, Float:z, name[MAX_PLAYER_NAME], string[86];
GetPlayerName(playerid, name, sizeof(name));
{
if(sscanf(params, "ui", pID, m...
179
Licenses - no. An optional guide near the 'newb' spawn is recommended.
174
pTazer{playerid} = 1; to pTazer[playerid] = 1; ?
85
What script are you using? When they register (when it gives them starter money etc) increase the amount of money they get, set their 'pot' etc to 500, I assume you use enums which save on disconnecti...
90
Yeah but that'd mean all can view that lastpm[128]?
182
Is that line in a public?
Edit: Didn't see your newest error, are the parameters even correct for that? (Float, Float:y, text[]) according to the wiki.
Shouldn't you be using TextDrawShowForPlayer?
98
Thing is, I'm using a login dialog, so when you log in, it doesn't spawn, with TogglePlayerSpectating(playerid, 1); it just shows the sea from Red County, doesn't let me spawn. I just want to put my p...
108
http://i50.tinypic.com/21r2uw.png
I basically want to know how I can remove the [<< >> Spawn] and make it so it just spawns at a location according to their enum etc. I've messed arou...
108
reason is an int then told a string in sscanf? Shouldn't it be like reason[stringsize], anyhow. Let's say the reason is 48, then you should do if(sscanf(params, "us[48]", targetid, reason))
169
What causes the player to go shooting up, i.e. not able to spawn etc?
54,869
Quote:
CMD:hi(playerid, params[])
{
new numb;
{
if(sscanf(params, "i", numb)) return SendClientMessage(playerid, 0x8C8573C8, "/hi [number]");
{
if(numb == 1)
{
SendClientMes...
180
>= 5 means 'greater than or equal to 5'
180
I need to know how to detect if it's already in use in y_ini then how to make a another with a 1++(as more are written) beside it so it doesn't duplicate/merge.
68
Right, I don't know how to explain it exactly, but. Say I wanted to write an int into Y_INI, a simple ban, with a reason etc. Say I wanted to ban the person again (not wanting the previous ban to get ...
68