Jump to content

[PAWN] adding commands


Dion ibe
 Share

Recommended Posts

*Hello,If you have a problem with how to make a server in samp >>Watch How you can correct,It's easy

if (strcmp("/kill", cmdtext, true, 10) == 0)
{SetPlayerHealth(playerid, 0); // kill command
return 1;
}
if (strcmp("/heal", cmdtext, true, 10) == 0)
{SetPlayerHealth(playerid, 100);


// heal command
return 1; }

*Add this With Copy//cut. i Think you learned with 'This explanation,Give your point of View when you don't know anything and Good-Bye.

Edited by Cdorsu
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.