Search Results
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/hydra", cmdtext, true, 10) == 0)
{
{
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, ang);
CreateVehicle(...
197
Quote:
Originally Posted by [AC
Etch ]
use dcmd+sscanf they are alot easier from strcmp + strtok
Still doesn't work...
197
Quote:
Originally Posted by andmeida10
show your command... we don't guess
Код:
if(strcmp(cmd, "/moutbike", true) == 0)
{
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(p...
197
I made some commands in pawno and I go on my server and use the command and it says: SERVER: unknown command
Why wont they work?
What am i doing wrong?
197
Quote:
Originally Posted by Laur13
i delete #define and i replace
and i have 26 errors
Код:
C:\Documents and Settings\Acasa\Desktop\GW The GodFather[0.3]\GW The GodFather[0.3]\gam...
217
Hello,
I have made a command /makeadmin, so admins can make othe people admins. Here is the code:
Код:
new cmd[256], idx;
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, "/makeadmin", true) == 0)
{
...
93
OnPlayerDeath script:
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}
OnPlayerConnect script:
Код:
public OnPlayerConn...
130