SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 19/05/2017, 06:06 AM   #1
PowerF
Huge Clucker
 
PowerF's Avatar
 
Join Date: May 2014
Posts: 386
Reputation: 3
Default Player ID changer help

so,I created a command for debugging actually,I want to change my pID which is id on MySQL

PHP Code:
CMD:pid(playeridparams)
{
    new 
pidchanger;
    if(
sscanf(params"i"pidchanger)) return SendClientMessage(playeridCOLOR_GREY3"[Usage]: /pid [id]");
    
PlayerInfo[playerid][pID] = pidchanger;
    return 
1;

it's not working..
PHP Code:
error 035argument type mismatch (argument 1
PowerF is offline   Reply With Quote
Old 19/05/2017, 06:07 AM   #2
AbyssMorgan
High-roller
 
AbyssMorgan's Avatar
 
Join Date: Apr 2015
Location: Poland
Posts: 1,085
Reputation: 219
Default Re: Player ID changer help

Code:
CMD:pid(playerid, params[])
AbyssMorgan is online now   Reply With Quote
Old 19/05/2017, 06:31 AM   #3
PowerF
Huge Clucker
 
PowerF's Avatar
 
Join Date: May 2014
Posts: 386
Reputation: 3
Default Re: Player ID changer help

oh shit,I missed that thanks!
PowerF is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Hostname Changer / Servername Changer geerdinho8 Filterscripts 24 12/04/2014 08:48 AM
Anyone Have Player Colour Changer Dialog Fitri Scripting Help 2 12/08/2013 03:48 AM
[FilterScript] C" Simple and fast Player color changer. Champ Filterscripts 10 31/07/2013 04:39 PM
[FilterScript] Faff's Player color changer faff Filterscripts 10 09/06/2012 03:51 PM
[FilterScript] Player OnChat Color Changer RanSEE Filterscripts 4 01/02/2012 08:33 AM


All times are GMT. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.